package com.jt.service;

import com.jt.mapper.UserMemberMapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jt.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class UserMemberServicelmpl implements UserMemberService{
    @Autowired
    private UserMemberMapper userMemberMapper;

    @Override
    public void updateUser(User user) {
        userMemberMapper.updateById(user);
    }

    @Override
    public User fingAll(User user) {
        return userMemberMapper.selectById(user.getId());
    }


}
